package main

import "fmt"

func main()  {
	fmt.Printf("starting...\n")
	panic("A severe error occurred: stopping the program!\n")
	fmt.Printf("ending...\n")
	defer func() {
		if e:=recover();e!=nil {
			fmt.Printf("panic: \n",e)
		}
	}()
}